package cn.iocoder.yudao.module.erp.controller.admin.business.vip.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 客户级别新增/修改 Request VO")
@Data
public class VipSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2744")
    private Long id;

    @Schema(description = "级别名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "vip1")
    @NotEmpty(message = "级别名称不能为空")
    private String name;

    @Schema(description = "系统折扣", requiredMode = Schema.RequiredMode.REQUIRED, example = "80")
    @NotNull(message = "系统折扣不能为空")
    private Integer discount;

}